package com.maserb.monitor.repository.jwOur;

import com.maserb.monitor.entity.jwOur.JwOurLeaderEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface JwOurLeaderRepository extends JpaSpecificationExecutor<JwOurLeaderEntity>
        , PagingAndSortingRepository<JwOurLeaderEntity, String> {

    List<JwOurLeaderEntity> findByRank(String rank);
}